package com.twu.biblioteca.models;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Customer {
    private String code;
    private String name;

    public Customer(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String checkMembershipDetails() {
        return "Please talk to a Librarian! Thank you..";
    }

    public int selectMenuOption() throws IOException {
        BufferedReader reader = new BufferedReader((new InputStreamReader(System.in)));
        return Integer.parseInt(reader.readLine());
    }
}